package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.pojo.Menu;

import java.util.List;

/**
 * @author ：why
 * @description：
 * @version:
 */
public interface MenuService {
    PageResult pageQuery(QueryPageBean queryPageBean);

    List<Menu> findAllParentMenu();

    List<Menu> findAllIcons();

    boolean edit(Menu menu);

    boolean add(Menu menu);

    Result delete(Integer id);

    List<Menu> findUserMenuByUerName(String username);
}
